package cn.opopopo.design_pattern_learn.行为型.责任链;

// 2. 具体请求对象
class LeaveRequest {
    private String employeeName;
    private int days;

    public LeaveRequest(String employeeName, int days) {
        this.employeeName = employeeName;
        this.days = days;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public int getDays() {
        return days;
    }

    @Override
    public String toString() {
        return employeeName + " 申请请假 " + days + " 天";
    }
}